package com.liangzong.betspider.controller;

import com.liangzong.betspider.po.ApiResult;
import com.liangzong.betspider.po.QueryCondition;
import com.liangzong.betspider.po.TeamInfoResult;
import com.liangzong.betspider.service.FindDataService;
import com.liangzong.betspider.task.RecreateProcessTask;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.List;

@RestController
@RequestMapping("/bet")
@Api(value = "bet", tags = "bet 查询")
public class TestTaskController {

    @Autowired
    private RecreateProcessTask recreateProcessTask;

    @GetMapping("/refreshTasks")
    @ApiOperation("查询")
    public void refreshTasks(){
        recreateProcessTask.refreshTasks();
    }
}
